package znbkBkfx.GetBkfxJson;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Carson_Ho on 17/3/20.
 */

public interface GetRequest_BkfxInterface {

//    //@GET("ajax.php?a=fy&f=auto&t=auto&w=hello%20world")
//    //http://172.16.41.235:2019/api/ZNBK/W_ZNBK_GetPaperDetailToStu?schoolId=S22-sa-2963&subjectId=C&globalgrade=K9&courseClassId=0A99D23C-A0F4-436F-9A8D-D6ECD382189E&paperId=P01&stuId=sastu255&ReplaceUrl=true&ReplaceBlank=true&StartIndex=1
//    @GET("W_ZNBK_GetPaperDetail?schoolId=S22-sa-2963&subjectId=C&globalgrade=K9&courseClassId=0A99D23C-A0F4-436F-9A8D-D6ECD382189E&paperId=P01&stuId=sastu255&ReplaceUrl=true&ReplaceBlank=true&StartIndex=1")
//    Call<BkfxPaperEntity> getCall();
//    // 注解里传入 网络请求 的部分URL地址
//    // getCall()是接受网络请求数据的方法

    @GET("W_ZNBK_GetPaperDetailToStu")
    Call<BkfxPaperEntity> getPaperDetail(
                                       @Query("Key") String key,
                                       @Query("schoolId") String schoolId,
                                       @Query("subjectId") String subjectId,
                                       @Query("globalgrade") String globalgrade,
                                       @Query("courseClassId") String courseClassId,
                                       @Query("paperId") String paperId,
                                       @Query("stuId") String stuId,
                                       @Query("ReplaceUrl") boolean ReplaceUrl,
                                       @Query("ReplaceBlank") boolean ReplaceBlank,
                                       @Query("StartIndex") int StartIndex);


}
